RoomState

data class RoomState(val scheduledRoomList: StateFlow<List<RoomInfo>>, val scheduledRoomListCursor: StateFlow<String>, val currentRoom: StateFlow<RoomInfo?>)

Room related state data provided by RoomStore

Overview

Comprehensive snapshot of current room session state. This structure contains all relevant information about current room and scheduled room list.

State Properties Overview

PropertyTypeDescription
scheduledRoomListStateFlow<List<RoomInfo>>Scheduled room list
scheduledRoomListCursorStateFlow<String>Scheduled room list cursor
currentRoomStateFlow<RoomInfo?>Current room info

Tip: State is automatically updated when room status changes. Subscribe to state to receive real-time updates.

Constructors

Link copied to clipboard
constructor(scheduledRoomList: StateFlow<List<RoomInfo>>, scheduledRoomListCursor: StateFlow<String>, currentRoom: StateFlow<RoomInfo?>)

Properties

Link copied to clipboard
val currentRoom: StateFlow<RoomInfo?>

Current room info.

Link copied to clipboard

Scheduled room list.

Link copied to clipboard

Scheduled room list cursor.